package org.example.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

@FeignClient(value = "student-service")
public interface StudentApi {
    @RequestMapping("/student/updateStudentScore")
    String updateStudentScore(@RequestParam("studentId") int studentId, @RequestParam("changescore") int changescore);
}
